<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>路线预定</title>
<script type="text/javascript" src="<%=request.getContextPath() %>/website/route/route.js"></script>
<%@ include file="/framework/web/common_web.jsp" %>
</head>
<body>
<%@ include file="/website/head.jsp" %>
	<div class="wrapper">
	<table align="center" width="100%">
		<tr>
			<td>
				<table cellspacing="0" width="100%">
					<tr>
						<th class="green" colspan="2">预定路线-<s:property value="route.routeName"/></th>
					</tr>
					<tr>
						<td class="green">
							<img style="width:420px;height:158px;" src="<%=request.getContextPath()%>/framework/advImgs/<s:property value="route.routePic"/>">
						</td>
						<td class="green">
							<table align="center">
								<tr>
									<td colspan="2">
										<s:property value="route.routeName"/>
									</td>
								</tr>
								<tr>
									<td colspan="2">价格:<s:property value="route.routePrice"/></td>
								</tr>
								<tr>
									<td colspan="2">目的地:<s:property value="route.routeDest"/></td>
								</tr>
								<tr>
									<td colspan="2">行程天数:<s:property value="route.routeDays"/></td>
								</tr>
								<tr>
									<td>
										出发时间:<s:property value="route.routeStartDate"/>
									</td>
									<td>
										结束时间:<s:property value="route.routeEndDate"/>
									</td>
								</tr>
								<tr>
									<td colspan="2">
										<form id="addRoutePre" action="addRoutePre.action" method="post">
											<input type="hidden" name="routePre.route.routeId" value="<s:property value="route.routeId"/>">
											<input type="hidden" name="routePre.route.routePrice" value="<s:property value="route.routePrice"/>">
											<input type="hidden" name="routePre.payState" value="0">
											<input id="userId" type="hidden" name="routePre.user.userId" value="<%=session.getAttribute("userId")%>">
											<input type="button"  onclick="checkIsLogin()" value="" style="width:144px;height:37px;background: url(<%=request.getContextPath()%>/framework/images/yuding.png)">
										</form>
									</td>
								</tr>
						   </table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	</div>
<%@ include file="/website/bottom.jsp" %>
<!-- Javascript -->
 <script type="text/javascript">
	$(document).ready(function(){
		activeMenu(1);
	});
 </script>
</body>
</html>